package de.koller.gravity.scene.planet;

import de.koller.aframe.plain.PlainQuality;
import de.koller.oceanFramework.math.RVec2;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Ellipse2D;

public class Planet {

	public final RVec2 position = new RVec2();
	public float radius = 0;
	
	public void render( Graphics2D g ) {
		PlainQuality.best( g );
		
		g.setColor( Color.GREEN );
		
		Shape p = new Ellipse2D.Float( position.x - radius, position.y - radius, radius*2, radius*2 );
		g.fill( p );
	}
	
}
